Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter out non-printable characters, control characters and ZWNBSP character from the response body #2346

Merged
merged 5 commits into from
May 22, 2024

Conversation

lohxt1
Copy link
Collaborator

@lohxt1 lohxt1 commented May 21, 2024

Issue:
If the response body contains a control character or a ZWNBSP character, the JSON response body cannot be parsed properly.

Before:
before

After:
after

I have updated bruno-tests with the API route required to test this.

@lohxt1 lohxt1 requested review from helloanoop and Its-treason and removed request for helloanoop May 21, 2024 15:33
@helloanoop helloanoop merged commit e56fb74 into usebruno:main May 22, 2024
2 of 3 checks passed
jwetzell pushed a commit to jwetzell/bruno that referenced this pull request Aug 2, 2024
…aracter from the response body (usebruno#2346)

* fix(usebruno#1003): content type for client_credentials & password grant types

* feature(usebruno#1003): added client is & secret for password credentials grant type

* fix: filter out non-printable control character and ZWNBSP character

* fix: filter out non-printable control character and ZWNBSP character
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants